/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package androidutal;

import java.io.Serializable;

/**
 *
 * @author Roberto
 */
public class WSConfig implements Serializable{
    String ip="";
    String carpetaWeb="";

    public WSConfig(String ip, String carpetaWeb) {
        this.ip = ip;
        this.carpetaWeb = carpetaWeb;
    }

    public String getCarpetaWeb() {
        return carpetaWeb;
    }

    public void setCarpetaWeb(String carpetaWeb) {
        this.carpetaWeb = carpetaWeb;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }
    
    public String generaUrl(String fichero)
    {
        String url="http://"+this.getIp()+":8084/WSUtal/"+fichero;
        return url;
    }
    
    
    
}
